<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script src="./js/jquery.min.js"></script>
    <script>

        /* ajax  三级封装 */
        // $.getJSON("http://localhost/project/server/check.php",function (json) {
        //     console.log(json);
        // });



        /* 不能处理跨域 */
        // function callbackFunction(data){
        //     console.log(data);
        // }
        // $.getJSON("https://www.runoob.com/try/ajax/jsonp.php?jsoncallback=callbackFunction",function (json) {
        //     console.log(json);
        // });
    </script>
</body>

</html>